package model.xpdl2{
	import mx.utils.UIDUtil;
	
	
	public class Activity{
		
		private var _id:String;
		
		private var _name:String;
		
		private var description:Description;
		
		private var nodeGraphicsInfos:NodeGraphicsInfos;
		
		private var event:Event;
		
		private var implementation:Implementation;
		
		private var blockActivity:BlockActivity;
		
		private var route:Route;
		
		private var transitionRest:TransitionRestrictions;
		
		public function Activity(){
			
			_id=UIDUtil.createUID();
			
			_name="Activity";
			
			description=new Description();
			
			transitionRest=new TransitionRestrictions();
			
			nodeGraphicsInfos=new NodeGraphicsInfos();

		}
		
		public function get id():String{
			return this._id;
		}
		
		public function set id(id:String):void{
			this._id=id;
		}

		public function get name():String{
			return this._name;
		}
		
		public function set name(name:String):void{
			this._name=name;
		}
		
		public function getDescription():Description{
			return this.description;
		}
		
		public function getNodeGraphicsInfos():NodeGraphicsInfos{
			return this.nodeGraphicsInfos;
		}
		
		public function getEvent():Event{
			return this.event;
		}
		
		public function setEvent(event:Event){
			this.event=event;
		}
		
		public function getImplementation():Implementation{
			return this.implementation;
		}
		
		public function setImplementation(implementation:Implementation){
			this.implementation=implementation;
		}
		
		public function getBlockActivity():BlockActivity{
			return this.blockActivity;
		}
		
		public function setBlockActivity(block:BlockActivity){
			this.blockActivity=block;
		}
		
		public function getTransitionRest():TransitionRestrictions{
			return this.transitionRest;
		}
		
		public function getRoute():Route{
			return this.route;
		}
		
		public function setRoute(value:Route){
			this.route=value;
		}
		
	}
}